package com.promise.jokerdream.config.game

import kotlinx.serialization.Serializable
import java.time.LocalTime

/**
 * 飞升大作战游戏模式
 */
@Serializable
enum class AscendHeavenGameMode(val displayName: String, val signupType: Int) {
    RANKED("排位", 1),
    MATCH("匹配", 2),
    DUO("双排", 3)
}

@Serializable
data class AscendHeavenGameConfig(
    override val enabledSetting: Boolean = false,
    override val scheduledChallengeEnabled: Boolean = false,
    override val registrationTime: String = "19:00", // LocalTime序列化
    val gameMode: AscendHeavenGameMode = AscendHeavenGameMode.MATCH,
): BaseGameConfig
